Linked Data Wrappers atop Yahoo's YQL
نویسندگان
چکیده
The Yahoo Query Language (YQL) specializes on providing a framework for abstracting developers from the heterogeneity of API requests and its optimization [1]. This specialization is what makes YQL attractive for LDW development. YQL abstracts APIs through the so-called Open Data Tables (ODT). As an example, consider Last.fm. This is a music website that provides information about musical events through an Open API1. ODTs abstract API specifics through a table-like view. Figure 1 shows the ODT for the service lastfm.event.getInfo2. Main tags include and . The former contains descriptive information about the ODT such as author, description or documentation link 3-5). The bindings indicate how YQL operations are mapped into API calls. An entry exists for each operation (e.g. ). The sample case illustrates the SELECT case (10-16): accounts for the URL pattern to invoke whereas denotes the possible YQL statement input field. Each field (e.g. event) accounts for variables to be instantiated when SELECT is enacted. YQL promotes reuse through ODTs so that the YQL community can tap on someone else’s ODT for their own developments. ODTs provide a good starting point for LDWs. This entails a double wrapping: YQL wraps APIs as tables while LDWs wrap tables as linked data. Grounding and lifting concerns are considered during the second wrapping. Back to our running example, this is achieved as follows (see Figure 1). YQL’s sampleQuery tag is used to describe the URI pattern (line 6) and the URI grounding (line 7). When a linked wrapper server receives a URI, it identifies the ODT at hand through pattern matching against the registered URIPattern at deployment time. This pattern is attached to the linked wrapper server base URL (e.g. http://www.onekin.org/). The binding (lowering mapping) from URI pattern to ODT input parameters is realized through pattern matching parameters (i.e. line 6 to line 13 {event} binding). YQL’s function tag is recast for lifting: each YQL tuple (i.e. oneEventXML) is to be turned into an RDF individual (i.e. oneEventJSONLD). The lifting function holds and . The former indicates the function’s parameters which are set to , i.e. holds “a tuple” of the ODT table described à la XML (line 19), and (i.e. to cast the ID for the returned RDF individual) (line 20). As for , it holds the JavaScript code that obtains JSON-LD out of the XML tuple (line 22-28). Interlinkage is also described here by constructing URIs out of existing parameters, e.g. mo:performer
منابع مشابه
YQL as a Platform for Linked-Data Wrapper Development
Linked-Data Wrappers (LDWs) have been proposed to integrate Open APIs into the linked-data cloud. A main stumbling block is maintenance: LDWs need to be kept in sync with the APIs they wrap. Hence, LDWs are not single-shot efforts, but sustained endeavors that developers might not always afford. As a result, it is not uncommon for third-party LDWs to stop working when their underlying APIs upgr...
متن کاملLinked Data Wrapping as a Service
Platform as a service (PaaS) allows customers to develop, run, and manage applications without being involved in maintaining the associated infrastructure. We believe Linked Data Wrappers (LDWs) might well benefit from this kind of approach. LDWs have been proposed to integrate Open APIs into the Linked Data Cloud. Frequently, LDWs are developed in-house and its lifetime is that of the containi...
متن کاملLinked Data Wrapper Curation: A Platform Perspective
Linked Data Wrappers (LDWs) turn Web APIs into RDF end-points, leveraging the LOD cloud with current data. This potential is frequently undervalued, regarding LDWs as mere by-products of larger endeavors, e.g. developing mashup applications. However, LDWs are mainly data-driven, not contaminated by application semantics, hence with an important potential for reuse. If LDWs could be decoupled fr...
متن کاملFinancial Trends prediction using the Back Propagation Neural Network and YQL
In this world a amount of things and procedures are impulsive, among the stock market value is an entity which is impulsive. The stock market and their prices are haphazard in impulsive manner that can be depends on amount of external associations such as politics, terror, social and others. But a number of researchers are building efforts to forecast the stock market values. To forecast the up...
متن کاملTowards Linked Data Services
Large amounts of data reside in sources which are not webaccessible. Wrappers – small software programs that provide uniform access to data – are often used to transform legacy data sources for use on the Semantic Web. Wrappers, as well as links between data from wrapped sources and data that already exists on the Web, are typically created in an ad-hoc fashion. We propose a principled approach...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015